﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ITSM.Model.Model
{
    public class M_Template
    {
#pragma warning disable CS8618 // 在退出构造函数时，不可为 null 的字段必须包含非 null 值。请考虑声明为可以为 null。
#pragma warning disable IDE1006 // 命名样式
        /// <summary>
        /// 
        /// </summary>
        public int state { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int demandId { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string touser { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string template_id { get; set; } = "FbKSYihS5M6PpPnG-pC_iQbRTMjH4w1gVtL49rmMUAQ";
        /// <summary>
        /// 
        /// </summary>
        public string url { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string client_msg_id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public Data data { get; set; }
        public class valueColor
        {
            /// <summary>
            /// 订单处理完成提醒！！！
            /// </summary>
            public string value { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public string color { get; set; } = "#173177";
        }

        public class Data
        {
            /// <summary>
            /// 
            /// </summary>
            public valueColor first { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public valueColor keyword1 { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public valueColor keyword2 { get; set; }
            /// <summary>
            /// 
            /// </summary>
            public valueColor remark { get; set; }
        }
    }
}
